package com.czk.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 自定义事务注解
 *
 * @Author:ChenZhangKun
 * @Date: 2021/4/5 21:08
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface CzkTransaction {
    boolean isStart() default false;
    boolean end() default false;
}
